package org.example.service;

import org.example.dto.RegisterDTO;
import org.example.po.ShoppingUser;
import org.example.rvo.ResultVO;

/**
 * @author jianma
 */
public interface ShoppingUserService {

    public ResultVO login(String name, String pass) throws Exception;

    public ResultVO register(RegisterDTO registerDTO) throws Exception;

    public ResultVO queryUser(ShoppingUser shoppingUser ) throws Exception;

    public ResultVO updateUser(ShoppingUser shoppingUser) throws Exception;
}
